<?php 

header("Content-type:text/html;charset=UTF-8");

echo "<center>数据库连接测试</center>";
echo "<center><a href='db.php' target='_blank'>点此链接查看测试结果!</a></center>";
echo "<br/><br/><br/><br/>";
echo "<hr/>";

echo "<center>虚拟域名测试</center>";
echo "<center>配置本机hosts:   127.0.0.1 demo.140.com </center>";
echo "<center><a href='http://demo.140.com:{$_SERVER['SERVER_PORT']}/' target='_blank'>点此查看测试结果!</a></center>";
echo "<br/><br/><br/><br/>";
echo "<hr/>";

phpinfo();
